package com.lakeworks.event;

import com.lakeworks.common.domain.base.event.TicketEvent;
import com.lakeworks.common.domain.channel.ticket.TicketAdvance;
import com.lakeworks.common.domain.channel.ticket.TicketFactory;
import com.lakeworks.common.domain.ticket.TktRoute;
import com.lakeworks.common.domain.ticket.TktTicket;
import com.lakeworks.common.enums.ticket.TicketBackStatus;
import com.lakeworks.decision.base.DecisionType;
import com.lakeworks.domain.vo.TicketBackVo;
import lombok.Data;

import java.time.Instant;

@Data
public class AdvanceTicketEvent extends TicketEvent {

    private static final long serialVersionUID = 1L;

    TicketAdvance ticketAdvance;

    TktRoute tktRoute;

    DecisionType decisionType;

    public AdvanceTicketEvent(TktTicket tktTicket,TicketAdvance ticketAdvance,TktRoute tktRoute,String operator) {
        super.setTicket(tktTicket);
        this.ticketAdvance = ticketAdvance;
        this.tktRoute = tktRoute;
        super.setTimestamp(Instant.now());
        super.setOperator(operator);
    }
}
